from django.forms import fields
from ..widgets import GMap

class GMapField(fields.CharField):
    def __init__(self, *args, **kwargs):
        super(GMapField, self).__init__(*args, **kwargs)
        self.widget = GMap()